package com.example.dmuser;

import com.yc.login.bean.LoginProperties;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class UserAction {

    @Resource
    private LoginProperties loginProperties;

    @GetMapping("loginConfig")
    public LoginProperties getLoginConfig(){
        return loginProperties;
    }
}
